<template>
  <article class="col-7 fl">
    <div class="u-r-cont">
      课程测试
	  
	  <div>
		  
	  </div>
    </div>
  </article>
</template>
<script>
import testsapi from '~/api/tests'

export default {

  async asyncData(page) {
    const response = await testsapi.getById(page.route.params.id)
    return {
      tests: response.data.tests,
    }
  },
  data() {
    return {
      // collectList: []
    }
  },

  created() {
    // this.fetchCollectList()
  },

  methods: {

    // fetchCollectList() {
    //   collectApi.getCollectList().then(response => {
    //     this.collectList = response.data.items
    //   })
    // },

   
  }
}
</script>
